package com.yb.guigu.pick.auth.bean.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yb.guigu.pick.core.constant.DateTimeConstant;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 姚兵
 * @since 2023-06-06
 */
@Getter
@Setter
public class SysPermissionDTO {

    private Integer id;

    private Integer permissionId;

    private String permissionCode;

    private String permissionName;

    private String desc;

    private String isMenu;

    private Integer type;

    private Integer parentId;

    private String path;

    private Integer routeId;


    private String routeIdPath;

    private String routeName;

    private String routePath;


    @JsonFormat(pattern = DateTimeConstant.DASH_PATTERN_DATETIME,timezone = DateTimeConstant.TIME_ZONE)
    private LocalDateTime createTime;

    @JsonFormat(pattern = DateTimeConstant.DASH_PATTERN_DATETIME,timezone = DateTimeConstant.TIME_ZONE)
    private LocalDateTime updateTime;


}
